

/* ===================================================== */
/*                GLOBAL SETTINGS                        */
/* ===================================================== */

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Vazirmatn',sans-serif;
    /* رنگِ ثابت (نه گرادیان) — دقیقاً همون رنگی که توی پس‌زمینه‌ی عکسِ
       هولوگرام هم استفاده شده، تا همیشه و روی هر عرضِ صفحه‌ای دقیقاً یکی باشن */
    background:#020611;

    min-height:100vh;
    margin:0;
    overflow-x:hidden;
}

/* ===================================================== */
/*                     HEADER                             */
/* ===================================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;

    padding:0 60px;
    box-sizing:border-box;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    z-index:1000;

    background:rgba(2,6,17,.35);
    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,.06);
}

/* ===================================================== */
/*                        LOGO                            */
/* ===================================================== */

.logo{
    flex:0 0 180px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    cursor:pointer;
}

.logo h1{
    font-size:42px;
    color:#00ffee;
    line-height:0.85;
    margin:0;

    text-shadow:
        0 0 10px #00ffee,
        0 0 25px #00ffee;
}

.logo span{
    font-size:13px;
    color:white;
    letter-spacing:6px;
    margin-top:-2px;
}

/* ===================================================== */
/*                      NAVBAR                            */
/* ===================================================== */

.navbar{
    flex:1;
    display:flex;
    justify-content:center;
    gap:30px;
}

.navbar a{
    position:relative;
    text-decoration:none;
    color:white;
    font-size:18px;
    font-weight:500;
    transition:.3s;
}

.navbar a:hover{
    color:#00ffee;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-10px;
    width:0;
    height:2px;
    background:#00ffee;
    transform:translateX(-50%);
    transition:.3s;
}

.navbar a:hover::after{
    width:100%;
}

/* ===================================================== */
/*                  HEADER BUTTONS                       */
/* ===================================================== */

.header-buttons{
    flex:0 0 320px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:15px;
}

/* ===================================================== */
/*                  LOGIN BUTTON                         */
/* ===================================================== */

.header-login{
    display:flex;
    align-items:center;
    justify-content:center;

    width:140px;
    height:50px;

    padding:0 25px;
    border-radius:16px;

    color:white;
    text-decoration:none;
    white-space:nowrap;

    border:1px solid rgba(0,255,238,.35);
    transition:.3s;
}

.header-login:hover{
    background:rgba(0,255,238,.08);
    box-shadow:0 0 15px rgba(0,255,238,.3);
}

/* ===================================================== */
/*                  SIGNUP BUTTON                        */
/* ===================================================== */

.header-signup{
    display:flex;
    align-items:center;
    justify-content:center;

    width:140px;
    height:50px;

    padding:0 30px;
    border-radius:16px;

    color:white;
    font-weight:bold;
    text-decoration:none;
    white-space:nowrap;

    background:linear-gradient(90deg,#0088ff,#00ffee);
    box-shadow:0 0 20px rgba(0,255,238,.35);

    transition:.3s;
}

.header-signup:hover{
    transform:translateY(-3px);
    box-shadow:0 0 30px rgba(0,255,238,.6);
}

/* ===================================================== */
/*                  دکمه همبرگری (موبایل)                 */
/* ===================================================== */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;

    width:44px;
    height:44px;

    background:transparent;
    border:1px solid rgba(0,255,238,.3);
    border-radius:10px;

    cursor:pointer;
}

.hamburger span{
    display:block;
    width:22px;
    height:2px;
    background:#00ffee;
    transition:.3s;
}

.hamburger.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* ===================================================== */
/*                    ریسپانسیو هدر                       */
/* ===================================================== */

@media(max-width:1100px){

    .header{
        padding:0 30px;
    }

    .header-buttons{
        flex:0 0 auto;
    }

    .header-login,
    .header-signup{
        width:auto;
        padding:0 18px;
    }
}

@media(max-width:900px){

    .hamburger{
        display:flex;
    }

    .navbar{
        position:fixed;
        top:80px;
        left:0;
        width:100%;

        flex-direction:column;
        align-items:center;
        gap:0;

        background:rgba(2,6,17,.97);
        backdrop-filter:blur(20px);

        max-height:0;
        overflow:hidden;

        transition:max-height .35s ease;
    }

    .navbar.active{
        max-height:400px;
        border-bottom:1px solid rgba(255,255,255,.06);
    }

    .navbar a{
        width:100%;
        text-align:center;
        padding:18px 0;
    }

    .navbar a::after{
        display:none;
    }
}

@media(max-width:600px){

    .header{
        padding:0 12px;
        gap:8px;
    }

    .logo{
        flex:0 0 auto;
    }

    .logo h1{
        font-size:26px;
    }

    .logo span{
        font-size:10px;
        letter-spacing:3px;
    }

    .header-buttons{
        gap:8px;
    }

    .header-login,
    .header-signup{
        padding:0 12px;
        height:38px;
        font-size:12.5px;
    }
}

